package com.redoop.bigdatamaker.police;

import com.redoop.bigdatamaker.utils.MakerUtils;
import com.redoop.bigdatamaker.utils.WhenUtils;
import com.redoop.bigdatamaker.utils.WhereUtils;
import com.redoop.bigdatamaker.utils.WhoUtils;

public class AirMake {

	public static void main(String[] args) {
		String dataType = args[0];
		int count = Integer.parseInt(args[1]);
		System.out.println(dataType + "Maker:" + count);

		for (int i = 0; i < count; i++) {
			String name = MakerUtils.randomGet(MakerUtils.surname) + "" + MakerUtils.randomGet(MakerUtils.name);
			String sexNation = MakerUtils.randomGet(MakerUtils.sex) + "," + MakerUtils.randomGet(MakerUtils.nation);
			String card = WhoUtils.makeidCardNumber();
			String birthday = WhoUtils.randomBirthday();
			String address = MakerUtils.randomGet(MakerUtils.province);
			String airStation = WhereUtils.getTrainName();
			String time = WhenUtils.randomDate();

			System.out.println(i + "," + name + "," + card + "," + sexNation + "," + birthday + "," + address + ","
					+ airStation + "," + time);
		}
	}

}
